package com.fjrz.bbxwj.main.host

import com.blankj.utilcode.util.BarUtils
import com.blankj.utilcode.util.FragmentUtils
import com.module.lemlin.base.BaseAbstractFragment
import com.fjrz.bbxwj.R
import com.fjrz.bbxwj.main.video.base.VideoCityFragment
import kotlinx.android.synthetic.main.fragment_main_city.*

class MainCityFragment : BaseAbstractFragment() {

    companion object {
        fun newInstance(): MainCityFragment {
            return MainCityFragment()
        }
    }

    override val layoutResId: Int
        get() = R.layout.fragment_main_city

    override fun initView() {
        BarUtils.addMarginTopEqualStatusBarHeight(flMainCityBar)

        val fragment: VideoCityFragment = VideoCityFragment.newInstance("福州市")
        FragmentUtils.add(childFragmentManager, fragment, R.id.flMainCityBody)
    }

}